package Com.amit.corejava;

public class Lab18 {

	int rollno;
	String name;
    static String college_name="RITM";
	
	public Lab18(int i,String n)
	{
		rollno=i;
		name=n;
	}
	void display()
	{
		System.out.println(rollno +" "+name+" "+college_name);
	}
  
	public static void main(String[] args) {
		
		Lab18 l1=new Lab18(12,"amit");
		
		Lab18 l2=new Lab18(13,"anil");
		
		l1.display();
		l2.display();
		
		
	}

}
